#include "event_def.h"

std::ostream &MobileCodeReqEv::dump(std::ostream &out)
{
    out << "MobileCodeReqEv ---> eid [" << get_eid() << "] and syn [" << get_syn() << "]." << std::endl; 
    out << "MobileCodeReqEv ---> mobile: " <<  get_mobile() << std::endl;
    return out;
} 

std::ostream &MobileCodeRspEv::dump(std::ostream &out)
{
    out << "MobileCodeRspEv ---> eid [" << get_eid() << "] and syn [" << get_syn() << "]." << std::endl; 
    out << "MobileCodeRspEv ---> code: " << get_code() << std::endl;
    out << "MobileCodeRspEv ---> icode: " << get_icode() << std::endl;
    out << "MobileCodeRspEv ---> desc: " << get_desc() << std::endl;
    return out;
}

std::ostream &LoginReqEv::dump(std::ostream &out)
{
    out << "LoginReqEv ---> eid [" << get_eid() << "] and syn [" << get_syn() << "]." << std::endl; 
    out << "LoginReqEv ---> mobile: " << get_mobile() << std::endl;
    out << "LoginReqEv ---> icode: " << get_icode() << std::endl;
    return out;
}

std::ostream &LoginRspEv::dump(std::ostream &out)
{
    out << "LoginRspEv ---> eid [" << get_eid() << "] and syn [" << get_syn() << "]." << std::endl; 
    out << "LoginRspEv ---> code: " << get_code() << std::endl;
    out << "LoginRspEv ---> desc: " << get_desc() << std::endl;
    return out;
}





